<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); 

class Block_Admin_Category_Edit_Tab_General extends Core_Block {

	protected function _beforeRender() {
		$this->getChild('category_select')
			->setSelectedCategoryId($this->getFormObject()->getParentCategory())
			->setExcludeCategoryId($this->getFormObject()->getId());
	}

}